package com.qf.userfull;

public class Cat extends Animal{

    public Cat() {
    }

    public Cat(String breed, String sex, int age, int atk, int hp) {
        super(breed, sex, age, atk, hp);
    }

    @Override
    public void sleep() {
        System.out.println("cat sleep");
    }

    @Override
    public void eat() {
        System.out.println("cat eat fish");
    }

//    @Override
    public static void test1(){
        System.out.println("cat test1");
    }


//    @Override
//    public String toString() {
//        return "Cat{breed=" + getBreed() + ",sex=" + getSex() + ",age=" + getAge() + "}";
//    }


}
